<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<title>修改计划</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="copyright" content="" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="all" />
<meta name="generator" content="EditPlus" />

<style type="text/css" media="screen">
   @import url(../css/mngMain.css);
</style>

<script type="text/javascript" src="../js/jquery.js"></script>

</head>



<body>
<div class="controlBox">
	<%@include file="../admin_top.jsp" %>
	<div class="mngMain">
		<div class="mngLeft">
			<%@include file="../admin_menu.jsp" %>
		</div>
		<div class="mngRight">
			<div class="mngRightContainer">
				<div class="mngRightContainerT">修改计划</div>
                <html:form action="editCategory.do" styleId="createUserForm" method="post" enctype="multipart/form-data">					
					<div class="mngRightContainerM">
						<font color="red">${info}</font>
						<table class="addUser">						
							<logic:notEmpty name="cate">	
							<logic:equal name="parId" value="0" >
							<tr>
								<th>计划名称：</th>
							  	<td><input type="text" name="categoryName" id="userNameId" value="${cate.categoryName }" style="width:150px" /></td>
							</tr>
							<tr>
								<th>计划文档：</th>
							  	<td><input type="file" name="doc" id="nickname_jq" style="width:226px" />(不选择则保留原有)</td>
							</tr>
							<tr>
								<th>值班电话：</th>
								<td><input type="text" name="phoneNumber" value="${cate.phoneNumber }" id="phone_jq" style="width:150px" /></td>
							</tr>
						</logic:equal>
						<logic:notEqual name="parId" value="0" >				
							<tr>
								<th>子类名称：</th>
							  	<td><input type="text" name="categoryName" value="${cate.categoryName }" id="userNameId" style="width:150px" /></td>
							</tr>
							<tr>
								<th>值班电话：</th>
								<td><input type="text" name="phoneNumber" id="phone_jq" value="${cate.phoneNumber }" style="width:150px" /></td>
							</tr>
						</logic:notEqual>							
							<tr>
								<td>
									<input type="hidden" name="id" value="${id}" />
									<input type="hidden" name="parId" value="<%=request.getParameter("parId") %>" /></td>
								<td>
									<a href="#" id="add_btn" onclick="javascript:document.getElementById('createUserForm').submit();"><img src="../img/yesBtn.gif" /></a>
									<a href="#" id="add_btn" onclick="javascript:history.back();"><img src="../img/backBtn.gif" /></a>
								</td>
							</tr>
							</logic:notEmpty>	
						</table>
					</div>
				</html:form>				
			</div>
		</div>
	</div>
	<div class="mngBottom">
		<div class="mngLine"></div>
	</div>
</div>
</body>
</html>